package com.tempjob.admin.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author hui
 * @Date 2024/12/1 0:02
 **/
@Data
@ApiModel
public class PolicySyncVO {

    private int page;
    private int rows;
    private String channelId;
    private int total;
    private boolean relateSubChannels;
    private List<Results> results;

    @Data
    public static class Results {
        private List<DomainMetaList> domainMetaList;
        private String contentHtml;
        private String title;
        private String content;
        private String url;
        private String channelLevels;
        private String websiteId;
        private String subTitle;
        private String manuscriptId;
        private Date publishedTime;
        private String channelName;
        private String channelCodeName;
        private String channelId;
        private String status;
        private Date publishedTimeStr;
        private List<String> resList;
    }

    @Data
    public static class ResultList {
        private String codeId;
        private String name;
        private String value;
        private String key;
        private String domainMetadataId;
    }

    @Data
    public static class DomainMetaList {
        private String domainMetadataTable;
        private String domainMetadataName;
        private List<ResultList> resultList;
        private String domainMetadataId;
    }

}
